/**
 * @param {Object} data  
 * 地图接口api
 */
import request from './request.js'

// 获取地图marker
export function getMarker(params) {
	return request({
		url: 'hj/enterprise/screen/getDevices',
		method: 'POST',
		params
	})
}
// 地图点位详情数据信息
export function shadowDevice(id) {
	return request({
		url: `hj/enterprise/devices/shadowDevice/${id}`,
		method: 'GET',
	})
}
